package info.ericbutler.microcosm.entities.ui;

public class ItemStack {
	private int		stackSize;
	private Item	itemType;

	public ItemStack( Item type, int num ) {
		this.itemType = type.clone();
		this.stackSize = num;
	}
	public int getStackSize() {
		return stackSize;
	}

	public void setStackSize(int stackSize) {
		this.stackSize = stackSize;
	}

	public Item getItemType() {
		return itemType;
	}

	public void setItemType(Item itemType) {
		this.itemType = itemType;
	}
	
	public ItemStack clone() {
		return new ItemStack( this.itemType, this.stackSize );
	}
}
